package com.cn.jinl.api;

import com.cn.jinl.domain.Device;
import com.cn.jinl.domain.DeviceReportVo;
import com.cn.jinl.domain.RepairReport;
import com.cn.jinl.utils.QueryForm;

import java.util.List;
import java.util.Map;

/**
 * Created On : 2023/12/11.
 * <p>
 * Author : Huiyan
 * <p>
 * Description: IDeviceService
 */
public interface IDeviceService {
    List<Device> getDeviceSelect(QueryForm queryForm) throws Exception;
    List<Device> getDeviceGuanHao(String deviceCode) throws Exception;

    String updateDevice(Device device) throws Exception;

    String deleteDevice(QueryForm queryForm) throws Exception;

    String addDevice(List<Device> devices) throws Exception;

    Map<String,List<String>> getDeviceByProcName(String processName,String processCategory)throws Exception;

    Map<String,Map<String,List<String>>> getAllDeviceGroupByProcessName()throws Exception;

    Device getDeviceInfoByCode(String deviceCode)throws Exception;

    Map<String,Object> getOnDutyDeviceInfoByCode(String deviceCode)throws Exception;
    Map<String,String> getDeviceCodeItemName()throws Exception;

    DeviceReportVo getDeviceReportByCode(String deviceCode);
}
